package com.lsp.java.TypeParam;

/**
 * @author lisp
 * @ClassName ThreeTuple
 * @Date 2019/6/4 12:33
 */
public class ThreeTuple<A, B, C> extends TwoTuple<A, B> {

    public final C third;

    public ThreeTuple(A first, B second, C third) {
        super(first, second);
        this.third = third;
    }

    @Override
    public String toString() {
        return "(" + first + "," + second + "," + third + ")";
    }
}
